package com.wisdytech.linkdcs.pad.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * <p>Description: 编码定义表</p>
 * </p>
 *
 * @author chenbin
 * @since 2018-08-13
 */
@TableName("SYS_CODE_DEFINITION")
public class SysCodeDefinition extends Model<SysCodeDefinition> {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private String pkId;
    @TableField("CODE_NAME")
    private String codeName;
    @TableField("CODE_TYPE")
    private String codeType;
    @TableField("SEGMENT_NUM")
    private Integer segmentNum;
    @TableField("SPACER")
    private String spacer;
    @TableField("CODE_EXAMPLE")
    private String codeExample;
    @TableField("CREATE_USER")
    private String createUser;
    @TableField("CREATE_DATE")
    private Date createDate;
    @TableField("DEL_FLAG")
    private String delFlag;
    @TableField("UPDATE_USER")
    private String updateUser;
    @TableField("UPDATE_DATE")
    private Date updateDate;
    @TableField("REMARK")
    private String remark;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public Integer getSegmentNum() {
        return segmentNum;
    }

    public void setSegmentNum(Integer segmentNum) {
        this.segmentNum = segmentNum;
    }

    public String getSpacer() {
        return spacer;
    }

    public void setSpacer(String spacer) {
        this.spacer = spacer;
    }

    public String getCodeExample() {
        return codeExample;
    }

    public void setCodeExample(String codeExample) {
        this.codeExample = codeExample;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "SysCodeDefinition{" +
        ", pkId=" + pkId +
        ", codeName=" + codeName +
        ", codeType=" + codeType +
        ", segmentNum=" + segmentNum +
        ", spacer=" + spacer +
        ", codeExample=" + codeExample +
        ", createUser=" + createUser +
        ", createDate=" + createDate +
        ", delFlag=" + delFlag +
        ", updateUser=" + updateUser +
        ", updateDate=" + updateDate +
        ", remark=" + remark +
        "}";
    }
}
